Exercise:1
- Write a code in which the sprite will ask the user to enter a number. The program will then check if the number is a prime number or not and display the result.
Click here to see a video about what is prime number?
Exercise video:
See the video for your reference.
Exercise:2
- A man walks from left to right. If the man reaches the x-axis greater than 200 change the backdrop.
Exercise video:
See the video for your reference.
Exercise:3
- Write a scratch code in which the computer selects a random number between some boundaries in its memory and the user has to find the number. The program will end when you find the correct number. Use the repeat until block.
Exercise video:
See the video for your reference.
Solutions
Click here to download the sb3 file for exercise-1.
Click here to download the sb3 file for exercise-2.
Click here to download the sb3 file for exercise-3.